package com.drone.drone_server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.drone.drone_server.entity.*;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface PersonFireHandlingDao extends BaseMapper<PersonFireHandling> {
    @Select("SELECT * FROM person_fire_handling WHERE person_id = #{personId} AND handle_status = #{status}")
    List<PersonFireHandling> selectByPersonAndStatus(@Param("personId") Integer personId,
                                                     @Param("status") String status);
}